public class bird extends Animals implements IFlying,IRunning{
    public bird (String name,int age,String color){
        super(name,age,color);
    }

    @Override
    public void eat() {
        System.out.println("小鸟正在吃玉米");
    }

    @Override
    public void fly() {
        System.out.println("小鸟正在飞");
    }

    @Override
    public void run() {
        System.out.println("小鸟正在跑跳");
    }
}
